package com.fanco.learn_datastruct_leetcode.designpattern.mememto.game;

/**
 * @author qiaowang 2022/2/23
 * 描述
 */
public class Memento {

    private int vit;

    private int def;

    public Memento(int vit, int def) {
        this.vit = vit;
        this.def = def;
    }

    public int getDef() {
        return def;
    }

    public void setDef(int def) {
        this.def = def;
    }

    public int getVit() {
        return vit;
    }

    public void setVit(int vit) {
        this.vit = vit;
    }
}
